<%@ page import="com.ant.myagile.Team_Project" %>



<div class="fieldcontain ${hasErrors(bean: team_ProjectInstance, field: 'startDate', 'error')} required">
	<label for="startDate">
		<g:message code="team_Project.startDate.label" default="Start Date" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="startDate" precision="day"  value="${team_ProjectInstance?.startDate}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: team_ProjectInstance, field: 'endDate', 'error')} ">
	<label for="endDate">
		<g:message code="team_Project.endDate.label" default="End Date" />
		
	</label>
	<g:datePicker name="endDate" precision="day"  value="${team_ProjectInstance?.endDate}" default="none" noSelection="['': '']" />
</div>

<div class="fieldcontain ${hasErrors(bean: team_ProjectInstance, field: 'project', 'error')} required">
	<label for="project">
		<g:message code="team_Project.project.label" default="Project" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="project" name="project.id" from="${com.ant.myagile.Project.list()}" optionKey="id" required="" value="${team_ProjectInstance?.project?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: team_ProjectInstance, field: 'team', 'error')} required">
	<label for="team">
		<g:message code="team_Project.team.label" default="Team" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="team" name="team.id" from="${com.ant.myagile.Team.list()}" optionKey="id" required="" value="${team_ProjectInstance?.team?.id}" class="many-to-one"/>
</div>

